#include <cstdio>
#include <cstring>
using namespace std;

int main_106()
{
    char str[]="1hElLo ~woRlD.";
    int len=strlen(str);
    for (int i=0;i<len ;++i )
    {
        if (str[i]>='a'&&str[i]<='z')
        {
            str[i]-=32;
        }
        else if (str[i]>='A'&&str[i]<='Z')
        {
            str[i]+=32;
        }
    }
    printf("%s",str);
	return 0;
}
